.expand-and-retract-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--Colors-Use-Neutral-Border);
    // position: relative;
    transition: background-color 0.3s ease;
    background-color: var(--Colors-Use-Basic-Background);

    position: sticky;
    top: 0;
    z-index: 12;
    &:hover {
        cursor: pointer;
        background-color: var(--Colors-Use-Neutral-Bg);
        border-bottom-color: var(--Colors-Use-Main-Border);
        .expand-and-retract-header-icon-body {
            width: 76px;
            border: 1px solid var(--Colors-Use-Main-Border);
            color: var(--Colors-Use-Main-Primary);
            .expand-and-retract-header-icon-text {
                width: 48px;
                opacity: 1;
            }
        }
    }
    &:focus,
    &:active {
        background-color: var(--Colors-Use-Neutral-Bg);
    }
}

.expand-and-retract-header-process {
    background-color: var(--Colors-Use-Main-Bg);
}
.expand-and-retract-header-finished {
    background-color: var(--Colors-Use-Success-Bg);
}

.expand-and-retract-header-error {
    background-color: var(--Colors-Use-Error-Bg);
}

.expand-and-retract-header-icon-body {
    display: flex;
    align-items: center;
    position: absolute;
    right: 50%;
    left: 50%;
    top: 75%;
    background-color: var(--Colors-Use-Basic-Background);
    padding: 4px;
    border: 1px solid var(--Colors-Use-Neutral-Border);
    flex-shrink: 0;
    color: var(--Colors-Use-Neutral-Text-1-Title);
    width: 24px;
    height: 24px;
    border-radius: 12px;
    transition: width 0.2s ease;
    font-size: 12px;
    z-index: 12;

    .expand-and-retract-icon {
        margin-left: 1px;
        margin-right: 4px;
    }

    .expand-and-retract-header-icon-text {
        display: flex;
        align-items: center;
        word-break: keep-all;
        width: 0;
        opacity: 0;
        transition:
            width 0.3s ease,
            opacity 0.2s ease;
    }
    svg {
        width: 12px;
        height: 12px;
    }
}
